package br.com.perkins.myproject.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class AcessoSubmenuPK implements Serializable {

	@Column(name="submenu_id")
	private Integer grupoUsuarioId;
	@Column(name="grupoUsuarios_id")
	private Integer submenuId;

	//constructors
	public AcessoSubmenuPK() {
		super();
	}
	public AcessoSubmenuPK(Integer grupoUsuarioId, Integer submenuId) {
		super();
		this.grupoUsuarioId = grupoUsuarioId;
		this.submenuId = submenuId;
	}

	//getters and setters
	public Integer getGrupoUsuarioId() {
		return grupoUsuarioId;
	}
	public void setGrupoUsuarioId(Integer grupoUsuarioId) {
		this.grupoUsuarioId = grupoUsuarioId;
	}
	public Integer getSubmenuId() {
		return submenuId;
	}
	public void setSubmenuId(Integer submenuId) {
		this.submenuId = submenuId;
	}

}